package com.ease.model;

import com.ease.model.criteria.Criteria;
import com.ease.model.criteria.CriteriaType;

/**
 * 
 * @author nathanleewei
 * 
 */
public interface EnumerableModel {

	/**
	 * invisible value
	 * 
	 * @return
	 */
	@Criteria(type = CriteriaType.PrimaryKey)
	long getId();

	/**
	 * Visible label
	 * 
	 * @return
	 */
	String getName();

	/**
	 * Code Const
	 * 
	 * @return
	 */
	String getCode();

}
